﻿<ResourceDictionary xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:ubcr="clr-namespace:UBCon.Ribbon"
                    xmlns:skin="clr-namespace:UBCon.Ribbon.SkinManagers"
                    xmlns:enums="clr-namespace:UBCon.Core.Enums;assembly=UBCon.Core">

    <CornerRadius x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CornerRadiusForSplittButton}">0,3,3,0</CornerRadius>
    
    <GridLength x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=TabItemsRowHeight}">23</GridLength>

    <Visibility x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=AppMenuSwirlVisibility}">Visible</Visibility>
    
    <Visibility x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonGroupSeparatorVisibility}">Collapsed</Visibility>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverBorderBrush}" Color="#80C8B280" />

    <SolidColorBrush x:Shared="True"  x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedBorderBrush}"  Color="#A3BDE3" />

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverBackgroundBrush}" StartPoint="0,0"
            EndPoint="0,1">
        <GradientStop Color="#C0FFFDDC" Offset="0" />
        <GradientStop Color="#C0FFE797" Offset="0.4" />
        <GradientStop Color="#C0FFD754" Offset="0.4" />
        <GradientStop Color="#C0FFE89F" Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedBackgroundBrush}" StartPoint="0,0"
            EndPoint="0,1">
        <GradientStop Color="#FFFDD4A8" Offset="0" />
        <GradientStop Color="#FFFBAE60" Offset="0.4" />
        <GradientStop Color="#FFF9972F" Offset="0.4" />
        <GradientStop Color="#FFFDE499" Offset="1" />
    </LinearGradientBrush>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaultBorderBrush}" Color="#FF7494BE"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=DefaultBkBrush}" Color="#FFCBDEF6"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonBarBackgroundBrush}" Color="#FFBFDBFF" />

    <LinearGradientBrush StartPoint="0,0" EndPoint="0,1"
                         x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonBarSelectedItemBkBrush}">
        <GradientStop Color="#FFE7F2FF" Offset="0" />
        <GradientStop Color="#FFDAE6F4" Offset="1" />
    </LinearGradientBrush>
    
    <CornerRadius x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type ubcr:RibbonBar}, ResourceId=RibbonBarCornerRadius}">4</CornerRadius>

    <Thickness x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type ubcr:RibbonBar}, ResourceId=RibbonBarMargin}">2,-1,2,0</Thickness>

    <Thickness x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type ubcr:RibbonBar}, ResourceId=ShowOnlyTabMargin}">2, 0, 2, 0</Thickness>
    
    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=SelectedTabItemBrush}" Color="#FFE7F2FF"/>

    <SolidColorBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowBackgroundBrush}" Color="#FFBFDBFF"/>

    <Visibility x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=RibbonGroupBorderVisibility}">Visible</Visibility>

    <LinearGradientBrush  StartPoint="0,0" EndPoint="0,1" 
                          x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowActiveTitleBrush}">
        <GradientStop Color="#FFE4EBF6" Offset="0" />
        <GradientStop Color="#FFD9E7F9" Offset="0.25" />
        <GradientStop Color="#FFCADEF7" Offset="0.25" />
        <GradientStop Color="#FFDBF4FE" Offset="1" />
    </LinearGradientBrush>

    <LinearGradientBrush x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=WindowInActiveTitleBrush}" StartPoint="0,0"
            EndPoint="0,1">
        <GradientStop Color="#FFE3E7EC" Offset="0" />
        <GradientStop Color="#FFDEE5ED" Offset="0.25" />
        <GradientStop Color="#FFD8E1EC" Offset="0.25" />
        <GradientStop Color="#FFDFEBEF" Offset="1" />
    </LinearGradientBrush>

    <!-- Caption button colors-->

    <SolidColorBrush x:Shared="True"
                     Opacity="0.3"
                     x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CaptionButton_PressedStateBackgroundBrush}"
                     Color="#FFCBD0D7"/>

    <SolidColorBrush x:Shared="True"  x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CaptionButton_PressedStateBorderBrush}"
                     Color="#FFA6ACB3" Opacity="0.7"/>

    <LinearGradientBrush x:Shared="True"
                         x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=PressedStateBackgroundBrushForCloseButton}" 
                        EndPoint="0.5,1" 
                         StartPoint="0.5,0">
        <GradientStop Color="#FFFE8382" 
                      Offset="0"/>
        <GradientStop Color="#FFE36162" 
                      Offset="1"/>
        <GradientStop Color="#FFF34646" 
                      Offset="0.491"/>
    </LinearGradientBrush>

    <SolidColorBrush x:Shared="True"
                       x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=MouseOverStateBrushForCloseButton}" 
                       Color="#FFA93939"/>

    <SolidColorBrush x:Shared="True"
                       x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BackgroundBrushForCaptionButton}" 
                       Color="#FFF0F3F5"/>

    <SolidColorBrush x:Shared="True"
                       x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=BorderBrushForCaptionButton}" 
                       Color="#FF646464"/>

    <SolidColorBrush x:Shared="True"
                       x:Key="{ComponentResourceKey TypeInTargetAssembly={x:Type skin:SkinManager}, ResourceId=CaptionButton_PenBrush}" 
                       Color="#FF707070"/>

   
</ResourceDictionary>